package com.ruoyi.fsepc.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.util.Date;

/**
 * 工程师FSE计划详情 工程师FSE计划详情对象 st_plan_details
 *
 * @author ruoyi
 * @date 2020-02-28
 */
public class StPlanDetails extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 主键ID
     */
    private Long id;

    /**
     * 服务派单主键ID
     */
   /* @Excel(name = "服务派单主键ID")*/
    private Long serviceNoticeId;

    /**
     * 服务通知号（服务通知主键）
     */
   /* @Excel(name = "服务通知号", readConverterExp = "服=务通知主键")*/
    private String serviceNo;

    /**
     * 工程师FSE的主键ID
     */
 /*   @Excel(name = "工程师FSE的主键ID")*/
    private String fseId;

    /**
     * 工程师姓名
     */
    @Excel(name = "工程师姓名")
    private String fseName;

    /**
     * 手机唯一表示用于推送
     */
 /*   @Excel(name = "手机唯一表示用于推送")*/
    private String phoneUuid;

    /**
     * 是否接受 0拒绝 1接受
     */
   /* @Excel(name = "是否接受 0拒绝 1接受")*/
    private String isAccept;

    /**
     * 拒绝理由
     */
  /*  @Excel(name = "拒绝理由")*/
    private String refusalReasons;

    /**
     * 预计上门时间
     */
    @Excel(name = "预计上门时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm")
    private Date estimatedVisitingTime;

    /**
     * 预计工时
     */
    /*@Excel(name = "预计工时")*/
    private String estimatedWorkingHours;

    /**
     * 预计离开时间
     */
    @Excel(name = "预计离开时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm")
    private Date estimatedDepartureTime;

    /**
     * 是否借用备件 0未借用 1已借用
     */
   /* @Excel(name = "是否借用备件 0未借用 1已借用")*/
    private String isBorrow;

    /**
     * 是否需要上门服务 0不需要 1需要
     */
  /*  @Excel(name = "是否需要上门服务 0不需要 1需要")*/
    private String isDoor;

    /**
     * 是否签到 0未签到 1已签到
     */
   /* @Excel(name = "是否签到 0未签到 1已签到")*/
    private String signIn;

    /**
     * 签到时间
     */
  /*  @Excel(name = "签到时间", width = 30, dateFormat = "yyyy-MM-dd")*/
    private Date signInTime;

    /**
     * 签到经度
     */
   /* @Excel(name = "签到经度")*/
    private Double signInLon;

    /**
     * 签到纬度
     */
   /* @Excel(name = "签到纬度")*/
    private Double signInLat;

    /**
     * 签到提醒推送 0未推送 1已推送
     */
   /* @Excel(name = "签到提醒推送 0未推送 1已推送")*/
    private String signInPush;

    /**
     * 签到提醒推送时间
     */
   /* @Excel(name = "签到提醒推送时间", width = 30, dateFormat = "yyyy-MM-dd")*/
    private Date signInPushTime;

    /**
     * 是否签离 0未签离 1已签离
     */
   /* @Excel(name = "是否签离 0未签离 1已签离")*/
    private String signOff;

    /**
     * 签离时间
     */
    /*@Excel(name = "签离时间", width = 30, dateFormat = "yyyy-MM-dd")*/
    private Date signOffTime;

    /**
     * 签离经度
     */
    /*@Excel(name = "签离经度")*/
    private Double signOffLon;

    /**
     * 签离纬度
     */
   /* @Excel(name = "签离纬度")*/
    private Double signOffLat;

    /**
     * 签离提醒推送 0未推送 1已推送
     */
  /*  @Excel(name = "签离提醒推送 0未推送 1已推送")*/
    private String signOffPush;

    /**
     * 签离提醒推送时间
     */
    /*@Excel(name = "签离提醒推送时间", width = 30, dateFormat = "yyyy-MM-dd")*/
    private Date signOffPushTime;

    /**
     * 是否填写工作日志 0未填写 1已填写
     */
   /* @Excel(name = "是否填写工作日志 0未填写 1已填写")*/
    private String fillInLog;

    /**
     * 工作日志填写时间
     */
    /*@Excel(name = "工作日志填写时间", width = 30, dateFormat = "yyyy-MM-dd")*/
    private Date fillInLogTime;

    /**
     * 工作日志填写提醒推送 0未推送 1已推送
     */
    /*@Excel(name = "工作日志填写提醒推送 0未推送 1已推送")*/
    private String fillInLogPush;

    /**
     * 推送次数
     */
  /*  @Excel(name = "推送次数")*/
    private Long fillInLogPushNum;

    /**
     * 每次推送的时间 更新此字段
     */
    /*@Excel(name = "每次推送的时间 更新此字段", width = 30, dateFormat = "yyyy-MM-dd")*/
    private Date fillInLogPushTime;

    /**
     * 统一的一个状态 默认0 1已结束 2已签到 3已签离 4已完成
     */
    /*@Excel(name = "统一的一个状态 默认0 1已结束 2已签到 3已签离 4已完成")*/
    private String state;

    /*客户姓名*/
    @Excel(name = "客户姓名",width = 20)
    private String  customerName;




    /**
     * 删除标志（0代表存在 2代表删除）
     */
    private String delFlag;
   /* 服务通知数量*/
    @Excel(name = "服务通知数量")
    private String countNum;

    private String startTime;

    private String endTime;

    private String bu;

    private String teamleaderId;

    private String enginnerId;

    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }

    public void setServiceNoticeId(Long serviceNoticeId) {
        this.serviceNoticeId = serviceNoticeId;
    }

    public Long getServiceNoticeId() {
        return serviceNoticeId;
    }

    public void setServiceNo(String serviceNo) {
        this.serviceNo = serviceNo;
    }

    public String getServiceNo() {
        return serviceNo;
    }

    public void setFseId(String fseId) {
        this.fseId = fseId;
    }

    public String getFseId() {
        return fseId;
    }

    public void setFseName(String fseName) {
        this.fseName = fseName;
    }

    public String getFseName() {
        return fseName;
    }

    public void setPhoneUuid(String phoneUuid) {
        this.phoneUuid = phoneUuid;
    }

    public String getPhoneUuid() {
        return phoneUuid;
    }

    public void setIsAccept(String isAccept) {
        this.isAccept = isAccept;
    }

    public String getIsAccept() {
        return isAccept;
    }

    public void setRefusalReasons(String refusalReasons) {
        this.refusalReasons = refusalReasons;
    }

    public String getRefusalReasons() {
        return refusalReasons;
    }

    public void setEstimatedVisitingTime(Date estimatedVisitingTime) {
        this.estimatedVisitingTime = estimatedVisitingTime;
    }

    public Date getEstimatedVisitingTime() {
        return estimatedVisitingTime;
    }

    public void setEstimatedWorkingHours(String estimatedWorkingHours) {
        this.estimatedWorkingHours = estimatedWorkingHours;
    }

    public String getEstimatedWorkingHours() {
        return estimatedWorkingHours;
    }

    public void setEstimatedDepartureTime(Date estimatedDepartureTime) {
        this.estimatedDepartureTime = estimatedDepartureTime;
    }

    public Date getEstimatedDepartureTime() {
        return estimatedDepartureTime;
    }

    public void setIsBorrow(String isBorrow) {
        this.isBorrow = isBorrow;
    }

    public String getIsBorrow() {
        return isBorrow;
    }

    public void setIsDoor(String isDoor) {
        this.isDoor = isDoor;
    }

    public String getIsDoor() {
        return isDoor;
    }

    public void setSignIn(String signIn) {
        this.signIn = signIn;
    }

    public String getSignIn() {
        return signIn;
    }

    public void setSignInTime(Date signInTime) {
        this.signInTime = signInTime;
    }

    public Date getSignInTime() {
        return signInTime;
    }

    public void setSignInLon(Double signInLon) {
        this.signInLon = signInLon;
    }

    public Double getSignInLon() {
        return signInLon;
    }

    public void setSignInLat(Double signInLat) {
        this.signInLat = signInLat;
    }

    public Double getSignInLat() {
        return signInLat;
    }

    public void setSignInPush(String signInPush) {
        this.signInPush = signInPush;
    }

    public String getSignInPush() {
        return signInPush;
    }

    public void setSignInPushTime(Date signInPushTime) {
        this.signInPushTime = signInPushTime;
    }

    public Date getSignInPushTime() {
        return signInPushTime;
    }

    public void setSignOff(String signOff) {
        this.signOff = signOff;
    }

    public String getSignOff() {
        return signOff;
    }

    public void setSignOffTime(Date signOffTime) {
        this.signOffTime = signOffTime;
    }

    public Date getSignOffTime() {
        return signOffTime;
    }

    public void setSignOffLon(Double signOffLon) {
        this.signOffLon = signOffLon;
    }

    public Double getSignOffLon() {
        return signOffLon;
    }

    public void setSignOffLat(Double signOffLat) {
        this.signOffLat = signOffLat;
    }

    public Double getSignOffLat() {
        return signOffLat;
    }

    public void setSignOffPush(String signOffPush) {
        this.signOffPush = signOffPush;
    }

    public String getSignOffPush() {
        return signOffPush;
    }

    public void setSignOffPushTime(Date signOffPushTime) {
        this.signOffPushTime = signOffPushTime;
    }

    public Date getSignOffPushTime() {
        return signOffPushTime;
    }

    public void setFillInLog(String fillInLog) {
        this.fillInLog = fillInLog;
    }

    public String getFillInLog() {
        return fillInLog;
    }

    public void setFillInLogTime(Date fillInLogTime) {
        this.fillInLogTime = fillInLogTime;
    }

    public Date getFillInLogTime() {
        return fillInLogTime;
    }

    public void setFillInLogPush(String fillInLogPush) {
        this.fillInLogPush = fillInLogPush;
    }

    public String getFillInLogPush() {
        return fillInLogPush;
    }

    public void setFillInLogPushNum(Long fillInLogPushNum) {
        this.fillInLogPushNum = fillInLogPushNum;
    }

    public Long getFillInLogPushNum() {
        return fillInLogPushNum;
    }

    public void setFillInLogPushTime(Date fillInLogPushTime) {
        this.fillInLogPushTime = fillInLogPushTime;
    }

    public Date getFillInLogPushTime() {
        return fillInLogPushTime;
    }

    public void setState(String state) {
        this.state = state;
    }

    public String getState() {
        return state;
    }

    public void setDelFlag(String delFlag) {
        this.delFlag = delFlag;
    }

    public String getDelFlag() {
        return delFlag;
    }

    public String getCountNum() {
        return countNum;
    }

    public void setCountNum(String countNum) {
        this.countNum = countNum;
    }

    public String getStartTime() {
        return startTime;
    }

    public void setStartTime(String startTime) {
        this.startTime = startTime;
    }

    public String getEndTime() {
        return endTime;
    }

    public void setEndTime(String endTime) {
        this.endTime = endTime;
    }

    public String getBu() {
        return bu;
    }

    public void setBu(String bu) {
        this.bu = bu;
    }

    public String getTeamleaderId() {
        return teamleaderId;
    }

    public void setTeamleaderId(String teamleaderId) {
        this.teamleaderId = teamleaderId;
    }

    public String getEnginnerId() {
        return enginnerId;
    }

    public void setEnginnerId(String enginnerId) {
        this.enginnerId = enginnerId;
    }

    public  String getCustomerName(){
        return customerName;
    }

    public void  setCustomerName(String  customerName){
        this.customerName=customerName;
    }


    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("serviceNoticeId", getServiceNoticeId())
                .append("serviceNo", getServiceNo())
                .append("fseId", getFseId())
                .append("fseName", getFseName())
                .append("phoneUuid", getPhoneUuid())
                .append("isAccept", getIsAccept())
                .append("refusalReasons", getRefusalReasons())
                .append("estimatedVisitingTime", getEstimatedVisitingTime())
                .append("estimatedWorkingHours", getEstimatedWorkingHours())
                .append("estimatedDepartureTime", getEstimatedDepartureTime())
                .append("isBorrow", getIsBorrow())
                .append("isDoor", getIsDoor())
                .append("signIn", getSignIn())
                .append("signInTime", getSignInTime())
                .append("signInLon", getSignInLon())
                .append("signInLat", getSignInLat())
                .append("signInPush", getSignInPush())
                .append("signInPushTime", getSignInPushTime())
                .append("signOff", getSignOff())
                .append("signOffTime", getSignOffTime())
                .append("signOffLon", getSignOffLon())
                .append("signOffLat", getSignOffLat())
                .append("signOffPush", getSignOffPush())
                .append("signOffPushTime", getSignOffPushTime())
                .append("fillInLog", getFillInLog())
                .append("fillInLogTime", getFillInLogTime())
                .append("fillInLogPush", getFillInLogPush())
                .append("fillInLogPushNum", getFillInLogPushNum())
                .append("fillInLogPushTime", getFillInLogPushTime())
                .append("state", getState())
                .append("delFlag", getDelFlag())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .toString();
    }
}
